home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
database
/
ddf606a.arj
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1994-03-13
|
1KB
|
65 lines
ECHO OFF
CLS
IF /%1 == / GOTO ERROR
IF %1 == A: GOTO FLOPPY
IF %1 == a: GOTO FLOPPY
IF %1 == B: GOTO FLOPPY
IF %1 == b: GOTO FLOPPY
IF %1 == C: GOTO HARD
IF %1 == c: GOTO HARD
IF %1 == D: GOTO HARD
IF %1 == d: GOTO HARD
IF %1 == E: GOTO HARD
IF %1 == e: GOTO HARD
IF %1 == F: GOTO HARD
IF %1 == f: GOTO HARD
IF %1 == G: GOTO HARD
IF %1 == g: GOTO HARD
IF %1 == H: GOTO HARD
IF %1 == h: GOTO HARD
IF %1 == I: GOTO HARD
IF %1 == i: GOTO HARD
GOTO ERROR
:FLOPPY
ECHO .
ECHO Press Ctrl-C to abort or insert diskette
ECHO in drive %1: then press any other key...
ECHO .
PAUSE
DDFILE66 %1
HELPDOC %1
SAMPLE %1
COPY ORDER.FRM %1
COPY PRN_LIST.* %1
ECHO .
ECHO Finished.
ECHO .
%1
GOTO END
:HARD
ECHO Installing DOCTOR DATA File to the %1 drive.
ECHO .
MD %1\DDFILE
DDFILE66 %1\DDFILE
HELPDOC %1\DDFILE
SAMPLE %1\DDFILE
COPY ORDER.FRM %1\DDFILE
COPY PRN_LIST.* %1\DDFILE
ECHO .
ECHO To run DOCTOR DATA File, type DDFILE, press Enter.
ECHO .
ECHO Finished.
%1
CD\DDFILE
GOTO END
:ERROR
ECHO .
ECHO To install DOCTOR DATA File, type INSTALL and the
ECHO drive to install to i.e. INSTALL B: or INSTALL C:
ECHO .
:END